//
//  CPViewController.m
//  GLViewDemo01
//
//  Created by QYClound on 2020/7/30.
//  Copyright © 2020 QYClound. All rights reserved.
//

#import "CPViewController.h"
#import "CPView.h"
@interface CPViewController ()


@property (nonnull, strong) CPView *myCpView;


@end

@implementation CPViewController

- (void)viewDidLoad {
    [super viewDidLoad];

        
//    self.view.backgroundColor = [UIColor redColor];
    self.myCpView = [[CPView alloc] initWithFrame:self.view.frame];
    
    [self.view addSubview:self.myCpView];
    // Do any additional setup after loading the view.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
